<?php
class Accountsstatus_Controller_Accountsstatus implements Accountsstatus_Controller_Mainable{
    
    private $accountsstatus_model_accountsstatus;
    private $accountstatus_model_accessleveldecision;
    
    //public $core_controller_view;
    
    public $page = array();
    
    public function __construct() {
        $this->accountsstatus_model_accountsstatus = new Accountsstatus_Model_Accountsstatus;
        $this->accountstatus_model_accessleveldecision = new Accountsstatus_Model_Accessleveldecision;
    }
    
    public function main(array $variables = null) {
        $this->accountstatus_model_accessleveldecision->main($variables);
        $this->page = $this->accountsstatus_model_accountsstatus->main($variables);
        //var_dump($this->page);
        $view = new Core_Controller_View($this->page['template']);
        $view->assign('page', $this->page);
    }

}
